package com.woniuxy.woniuhis.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.woniuhis.entity.Illness;

public interface IllnessMapper {

	//增加一种疾病
	void insertIllness(@Param("illness")Illness illness);
	//根据id删除一种疾病
	void deleteIllnessById(String id);
	//根据id修改一种疾病
	void updateIllnessById(@Param("illness")Illness illness);
	//根据id查询一种疾病
	Illness selectIllnessById(String id);
	//查询所有疾病
	List<Illness> selectAllIllnesses();
}
